package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 火车票产品API设置信息req
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-09
 */
@Data
@ApiModel(value="TrainProductSetReq对象", description="火车票产品API设置信息req")
public class TrainProductSetReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "产品id不能为空")
    private Long id;

    @ApiModelProperty(value = "打包状态")
    private Integer packStatus;

    @ApiModelProperty(value = "服务费类型(1:数值 2：百分比)")
    private Integer serviceChargeType;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceChargePrice;

    @ApiModelProperty(value = "退改手续费类型")
    private Integer refundFeeType;

    @ApiModelProperty(value = "退改手续费")
    private BigDecimal refundFeePrice;


}
